package com.hulk.boot.config;

import javax.jms.Queue;

import org.apache.activemq.command.ActiveMQQueue;
import org.springframework.context.annotation.Bean;
import org.springframework.jms.annotation.EnableJms;

//@Configuration
//@EnableJms
public class ActiveMQConfig {

	@Bean
	public Queue queue() {
		return new ActiveMQQueue("sample.queue");
	}

//	public static void main(String[] args) {
//		SpringApplication.run(ActiveMQConfig.class, args);
//	}

}